﻿using FrameDesign.Example1.Scripts.System;
using FrameDesign.Example1.Scripts.Utility;
using FrameDesign.FrameWork;
using Model;

namespace FrameDesign.Example1.Scripts
{
    public class PointGame: Architecture<PointGame>
    {

        protected override void Init()
        {
            RegisterSystem<IScoreSystem>(new ScoreSystem());
            RegisterSystem<ICountDownSystem>(new CountDownSystem());
            RegisterSystem<IAchievementSystem>(new AchievementSystem());

            RegisterModel<IGameModel>(new GameModel());
            
            RegisterUtility<IStorage>(new PlayerPrefsStorage());   
        }
    }
}